package sg.edu.nus.iss.leavesystem.model;

import java.io.Serializable;
import java.util.Date;

public class Leave implements Serializable{

	private static final long serialVersionUID = -7575503064219128721L;
	
	/** Attributes for Leave **/
	private String leaveId;
	private String leaveStatus;
	private Date leaveFromDate;
	private Date leaveToDate;
	private String leaveReason;
	private String leaveContactDetail;
	private String leaveFromDuration;
	private String leaveToDuration;
	private Date LeaveSubmitDate;
	private String LeaveTypeId;
	private String empId;

	public String getLeaveId() {
		return leaveId;
	}

	public void setLeaveId(String leaveId) {
		this.leaveId = leaveId;
	}

	public String getLeaveStatus() {
		return leaveStatus;
	}

	public void setLeaveStatus(String leaveStatus) {
		this.leaveStatus = leaveStatus;
	}

	public Date getLeaveFromDate() {
		return leaveFromDate;
	}

	public void setLeaveFromDate(Date leaveFromDate) {
		this.leaveFromDate = leaveFromDate;
	}

	public Date getLeaveToDate() {
		return leaveToDate;
	}

	public void setLeaveToDate(Date leaveToDate) {
		this.leaveToDate = leaveToDate;
	}

	public String getLeaveReason() {
		return leaveReason;
	}

	public void setLeaveReason(String leaveReason) {
		this.leaveReason = leaveReason;
	}

	public String getLeaveContactDetail() {
		return leaveContactDetail;
	}

	public void setLeaveContactDetail(String leaveContactDetail) {
		this.leaveContactDetail = leaveContactDetail;
	}

	public String getLeaveFromDuration() {
		return leaveFromDuration;
	}

	public void setLeaveFromDuration(String leaveFromDuration) {
		this.leaveFromDuration = leaveFromDuration;
	}

	public String getLeaveToDuration() {
		return leaveToDuration;
	}

	public void setLeaveToDuration(String leaveToDuration) {
		this.leaveToDuration = leaveToDuration;
	}

	public Date getLeaveSubmitDate() {
		return LeaveSubmitDate;
	}

	public void setLeaveSubmitDate(Date leaveSubmitDate) {
		LeaveSubmitDate = leaveSubmitDate;
	}

	public String getLeaveTypeId() {
		return LeaveTypeId;
	}

	public void setLeaveTypeId(String leaveTypeId) {
		LeaveTypeId = leaveTypeId;
	}

	public String getEmpId() {
		return empId;
	}

	public void setEmpId(String empId) {
		this.empId = empId;
	}

	/** Argument Constructor for Leave **/
	public Leave(String leaveId, String leaveStatus, Date leaveFromDate,
			Date leaveToDate, String leaveReason, String leaveContactDetail,
			String leaveFromDuration, String leaveToDuration,
			Date leaveSubmitDate, String leaveTypeId, String empId) {
		this.leaveId = leaveId;
		this.leaveStatus = leaveStatus;
		this.leaveFromDate = leaveFromDate;
		this.leaveToDate = leaveToDate;
		this.leaveReason = leaveReason;
		this.leaveContactDetail = leaveContactDetail;
		this.leaveFromDuration = leaveFromDuration;
		this.leaveToDuration = leaveToDuration;
		LeaveSubmitDate = leaveSubmitDate;
		LeaveTypeId = leaveTypeId;
		this.empId = empId;
	}

}
